package main

import (
	"ticket-master/appconfig"
	"ticket-master/models"
	"ticket-master/router"
)

func main() {
	// 1.创建路由

	appconfig.Init()
	models.Init()
	r := router.Init()
	// 3.监听端口，默认在8080
	// Run("里面不指定端口号默认为8080")
	r.Run(":8000")
}
